<?php
if(!defined('BZ_XTBLOG') || !defined('BZ_WJSCUZ')) {
	exit('Access Denied');
}
$uid=verify_id($_GET['uid']);
if($uid){
    $wzxx_title ='查看会员-'.$wzxx_title.'';
    $wzxx_gj    ='查看会员-'.$wzxx_gj.'';
    $wzxx_ms    ='查看会员-'.$wzxx_ms.'';
    $userhy=$db->get_one('user'," `uid` = '$uid' ",'');
    if(!$userhy[uid]){
  	    $pdid='1';
    }else{
        $user_uid   =$uid;
        $user_tx    =$user_class->user_tx($uid);
        $user_qm    =$user_class->user_qm($uid);
        $user_sex   =$user_class->user_sex($uid);
        $user_xb   =$user_class->user_sex($uid,1);
        $user_name  =$user_class->user_name($uid);
        $user_rzts  =$user_class->user_rzts($uid);
        $user_teoo  =$user_class->user_teoo($uid);
        $user_zhuangtai  =$user_class->user_zhuangtai($uid);
        $user_jf   =$userhy[jifen];
        $user_jb   =$userhy[money];
        $user_yxb   =$userhy[yeobi];
        $user_renminbi   =Bingz_renminbi($uid,'1');
  	 $pdid='2';
  }
}else{
    $wzxx_title ='会员中心-'.$wzxx_title.'';
    $wzxx_gj    ='会员中心-'.$wzxx_gj.'';
    $wzxx_ms    ='会员中心-'.$wzxx_ms.'';
        $user_xb   =$user_class->user_sex($user_uid,1);
        $user_jf   =$user[jifen];
        $user_jb   =$user[money];
        $user_yxb   =$user[yeobi];
        $user_renminbi   =Bingz_renminbi($user_uid);
        $managementj=Bingz_config('user_config_jifen_sz');
        $managementb=Bingz_config('user_config_money_sz'); 
        $managementy=Bingz_config('user_config_yeobi_sz');
        $managementx=Bingz_config('user_config_tixisz');
        $smsuserpost=Bingz_config('sms_user_post');
        $user_yhz=$user_class->user_yhz($user_uid);
    if(!$user_uid){
	      $pdid='3';
    }
}
@include template('head');
@include template('user/user_index');
@include template('foot');
?>